package com.yupi.yupao.model.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yyzhang
 * @version 1.0
 */
@Data
public class TagUpdateRequest implements Serializable {
    private static final long serialVersionUID = 1408178614018747981L;
    /**
     * id
     */
    private Long id;

    /**
     * 标签名称
     */
    private String name;

    /**
     * 父标签 id
     */
    private Long parentId;

    /**
     * 0 - 不是, 1 - 父标签
     */
    private Integer isParent;

    /**
     * 创建标签的用户id
     */
    private Long userId;
}
